boolean in python

22

my_list = []
if not my_list:
    print("the list is empty")

Comments

Submit
0 Comments